Definition at line 37 of file CMenu.hpp.
| Exponent::GUI::Controls::CMenu::CMenu | ( | ) |
Construction
| virtual Exponent::GUI::Controls::CMenu::~CMenu | ( | ) | [virtual] |
Destruction
| void Exponent::GUI::Controls::CMenu::addMenuItem | ( | CMenuItem * | menuItem | ) |
Add a sub menu item
| menuItem | The menu item to add |
| void Exponent::GUI::Controls::CMenu::clearAllMenuItems | ( | ) |
Remove all the menu items
| static void Exponent::GUI::Controls::CMenu::getADivisionMenu | ( | CMenu * | addToThisMenu | ) | [static] |
Fill a menu up with tempo divisions
| addToThisMenu | The menu to add to |
| CMenuItem* Exponent::GUI::Controls::CMenu::getMenuItem | ( | const long | index | ) |
Get a menu item
| index | The index of the item required |
| CMenuItem* | The menu item requested, or null on error |
| const CString& Exponent::GUI::Controls::CMenu::getMenuTitle | ( | ) | const |
Get the menu title
| const | CString& The title of the menu |
| long Exponent::GUI::Controls::CMenu::getNumberOfMenuItems | ( | ) | const |
Get the number of menu items
| long | The number of menu items contained within |
| void Exponent::GUI::Controls::CMenu::removeMenuItem | ( | const long | index | ) |
Remove a menu itme
| index | The index of the item to remove |
| void Exponent::GUI::Controls::CMenu::removeMenuItemNoOrdering | ( | const long | index | ) |
Remove a menu item - doesnt reorder the internal array
| index | The index of the menu item to remove |
| void Exponent::GUI::Controls::CMenu::setMenuTitle | ( | const CString & | title | ) |
Set the menu title
| title | The title of the menu |
CString Exponent::GUI::Controls::CMenu::m_menuTitle [protected] |